package com.qumap.item.request.filter.entry;

import java.io.Serializable;

/**
 * Created by IntelliJ IDEA.
 * User: Admin
 * Date: 10.06.11
 * Time: 22:19
 * To change this template use File | Settings | File Templates.
 */
public abstract class FilterEntry implements Serializable {

    protected short field_index;
    protected byte operation;

    public abstract void setValue(Number new_value);
    public abstract Number getValue();

    protected FilterEntry() {
    }

    public FilterEntry(short field_index, byte operation) {
        this.field_index = field_index;
        this.operation = operation;
    }


    public short getFieldIndex() {
        return field_index;
    }

    public byte getOperation() {
        return operation;
    }

}
